Accelerator SAP S/4HANA Invoices System API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
createInvoiceRequestCreate Invoice Soap Request
createInvoiceResponseCreate Invoice Success Response
getInvoiceResponseRetrieve Invoice By ID mapping
getInvoicesResponseRetrieve Invoices mapping

createInvoiceRequest

Create Invoice Soap Request

Source: ./src/main/resources/dwl/createInvoiceRequest.dwl

Mapping Tables

Maps CIM Invoice request to SAP4HANA Invoice SOAP Request

InvoiceInvoiceCIMDescription
IDUUIDUnique Identifier
CreationDateTimeCurrent DateTimeSet to Current Date and Time
SenderBusinessSystemIDsenderBusinessSystemIdSender's Business System Id
RecipientBusinessSystemIDrecipientBusinessSystemIDRecipient's Business System Id
ReferenceDocumentSubsequentDocumentOutbound Delivery Document Number
ReferenceDocumentCategoryreferenceDocumentCategoryDelivery Document Category
BillingDocumentTypebillingDocumentTypeType of Invoice

(back to top)

createInvoiceResponse

Create Invoice Success Response

Source: ./src/main/resources/dwl/createInvoiceResponse.dwl

(back to top)

getInvoiceResponse

Retrieve Invoice By ID mapping

Source: ./src/main/resources/dwl/getInvoiceResponse.dwl

Mapping Tables

Get InvoiceId response mapping.

CIM Invoice FieldSAP S4HANA Source fieldDescription of source field
idBillingDocumentSAP S4HANA Invoice id
invoiceNumberBillingDocumentInvoice number
invoiceStatusHard coded to PaidInvoice Status
invoiceDateBillingDocumentDateInvoice created date
totalTaxAmountTaxAmountTax amount
totalAmountTotalGrossAmountInvoice gross Amount
supplierSoldToPartySupplier number
invoiceLines.idto_Item.BillingDocumentItemId of the invoice item
invoiceLines.nameto_Item.BillingDocumentItemTextName of the Invoice
invoiceLines.invoiceLineTypeHard coed to DeliveryType of the Invoice
invoiceLines.salesOrderProductIdto_Item.MaterialProduct involved in the original Sales Order
invoiceLines.lineQuantityto_Item.BillingQuantityQuantity
invoiceLines.totalAmountto_Item.NetAmount and item.TaxAmountTotal Amount

(back to top)

getInvoicesResponse

Retrieve Invoices mapping

Source: ./src/main/resources/dwl/getInvoicesResponse.dwl

Mapping Tables

Get InvoiceId response mapping.

CIM Invoice FieldSAP S4HANA Source fieldDescription of source field
idBillingDocumentSAP S4HANA Invoice id
invoiceNumberBillingDocumentInvoice number
invoiceStatusHard coded to PaidInvoice Status
invoiceDateBillingDocumentDateInvoice created date
totalTaxAmountTaxAmountTax amount
totalAmountTotalGrossAmountInvoice gross Amount
supplierSoldToPartySupplier number
invoiceLines.idto_Item.BillingDocumentItemId of the invoice item
invoiceLines.nameto_Item.BillingDocumentItemTextName of the Invoice
invoiceLines.invoiceLineTypeHard coed to DeliveryType of the Invoice
invoiceLines.salesOrderProductIdto_Item.MaterialProduct involved in the original Sales Order
invoiceLines.lineQuantityto_Item.BillingQuantityQuantity
invoiceLines.totalAmountto_Item.NetAmount and item.TaxAmountTotal Amount

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onMay 21, 2024
Asset overview

Asset versions for 2.0.x

Asset versions
VersionActions
2.0.0